package com.vortex.cloud.sample.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author 王林
 * @version 1.0
 * @date 2021-10-21 周四
 * @time 16:39
 * @description
 */
@Data
@Schema(name = "StatsInfoQueryDTO", title = "条件查询", description = "条件查询")
public class StatsInfoQueryDTO {

    /**
     * 日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @Schema(name = "date", description = "日期")
    private LocalDate taskDate;
}
